import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    islogin: sessionStorage.getItem('islogin'), //存储当前是否已登录
    usercode: sessionStorage.getItem('usercode'), //存储当前登录用户名
  },
  mutations: {
   
  },
  actions: {},
  modules: {}
})